home *** CD-ROM | disk | FTP | other *** search
- Path: nuclear.microserve.net!news
- From: avenger@zola.trend1.com
- Newsgroups: comp.lang.c++
- Subject: Re: clearing the screen, in Linux
- Date: 26 Mar 1996 04:03:14 GMT
- Organization: Team OS/2
- Message-ID: <4j7qa2$5a8@crash.microserve.net>
- References: <31564CDA.DB1@ljusdal.se> <4j5k9r$as1@netnews.upenn.edu>
- Reply-To: avenger@zola.trend1.com
- NNTP-Posting-Host: 205.160.113.85
- X-Newsreader: IBM NewsReader/2 v1.03
-
- In <4j5k9r$as1@netnews.upenn.edu>, son@red.seas.upenn.edu (Sonny) writes:
- >use the system function in
- >#include<stdlib.h>
- >
- >system("clear");
- >
- >Marcsu (marcus.berggren@ljusdal.se) wrote:
- >: Could someone plese help me with this one!
- >: I need to know what function to call and what header file to include.
- >
- >: Be well
- >
- >: /marcsu
- >
- >: marcus.berggren@ljusdal.se
- >
- >--
- >
-
- You could also send the terminal a VT100 escape-code to clear the screen.
-
- try
-
- cout << "\027]2J";
-
- I think that should probably work. It will be faster as well.
-
- Hope this helps.
-
- Freely Yours,
-
- GlassAvenger
- =============================================
- Just say NO to WIN-NT!!!! Try OS/2 Warp.
- =============================================
-
-